{extend name="public:base" /}

{block name="breadcrumb"}
<ul class="breadcrumb">
    <li>
        <i class="ace-icon fa fa-home home-icon"></i>
        <a href="{:url('article/lists')}">文章管理</a>
    </li>
    <li class="active">文章列表</li>
</ul>
{/block}

{block name="content"}
<div class="page-header">
    <form name="admin_list_sea" class="form-search form-horizontal" method="post" action="{:url('news_list')}">
        <div class="row">
            <div class="col-xs-12 col-sm-4 col-md-3">
                <select name="keytype">
                    <option value="news_title" >按标题</option>
                </select>
                <select name="diyflag">
                    <option value="">按属性</option>

                </select>
                <select name="opentype_check">
                    <option value="">状态</option>
                    <option value="1" >已审</option>
                    <option value="0" >未审</option>
                </select>
            </div>

            <div class="col-xs-12 col-sm-5 col-md-4">
                <div class="input-group">
                    <span class="input-group-addon">
                        <i class="ace-icon fa fa-check"></i>
                    </span>
                    <input type="text" name="key" id="key" class="form-control" value="" placeholder="输入需查询的关键字" />
                    <span class="input-group-btn">
                        <button type="submit" class="btn btn-sm btm-input btn-purple">
                            <span class="ace-icon fa fa-search icon-on-right bigger-110"></span>
                            搜索
                        </button>
                    </span>
                </div>
            </div>
        </div>
    </form>
</div>

<div class="row">
    <div class="col-xs-12">
        <div class="table-responsive">
            <table class="table table-striped table-bordered table-hover" id="dynamic-table">
                <thead>
                <tr>
                    <th class="hidden-xs center">
                        <label class="pos-rel">
                            <input type="checkbox" class="ace"  id='chkAll' onclick='CheckAll(this.form)' value="全选"/>
                            <span class="lbl"></span>
                        </label>
                    </th>
                    <th class="hidden-xs">ID</th>
                    <th>文章标题</th>
                    <th class="hidden-sm hidden-xs">所属栏目</th>
                    <th class="hidden-sm hidden-xs">文章属性</th>
                    <th class="hidden-xs">点击</th>
                    <th class="hidden-xs">审核</th>
                    <th class="hidden-xs">发布时间</th>
                    <th style="border-right:#CCC solid 1px;">操作</th>
                </tr>
                </thead>

                <tbody>
                <tr>
                    <td class="hidden-xs" align="center">
                        <label class="pos-rel">
                            <input name="id[]" id="navid" class="ace"  type="checkbox" value="">
                            <span class="lbl"></span>
                        </label>
                    </td>
                    <td class="hidden-xs" align="center"></td>
                    <td></td>
                    <td class="hidden-sm hidden-xs"></td>
                    <td class="hidden-sm hidden-xs"></td>
                    <td class="hidden-xs"></td>
                    <td class="hidden-xs"></td>
                    <td class="hidden-xs">{$v.news_time|date='Y-m-d H:i:s',###}</td>
                    <td>
                        <div class="hidden-sm hidden-xs action-buttons">
                            <a class="green" href="" title="修改">
                                <i class="ace-icon fa fa-pencil bigger-130"></i>
                            </a>
                            <a class="red confirm-rst-url-btn" data-info="你确定要删除到回收站吗？" href="" title="回收站">
                                <i class="ace-icon fa fa-trash-o bigger-130"></i>
                            </a>
                        </div>
                    </td>
                </tr>

                <tr>
                    <td align="left">
                        <button id="btnsubmit" class="btn btn-white btn-yellow btn-sm">删</button> 
                    </td>
                    <td colspan="8" align="right" class="hidden-xs">{$page}</td>
                    <td colspan="8" align="right" class="hidden-lg hidden-md hidden-sm">{$page_min}</td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
</div>
{/block}